package edu.neu.ecommerceplatform.service;

import edu.neu.ecommerceplatform.dto.AddCartItemRequest;
import edu.neu.ecommerceplatform.dto.CartResponse;
import edu.neu.ecommerceplatform.dto.UpdateCartItemRequest;

public interface CartService {

    CartResponse getCart(Integer userId);

    CartResponse addItemToCart(Integer userId, AddCartItemRequest request);

    CartResponse updateItemInCart(Integer userId, Integer productId, UpdateCartItemRequest request);

    CartResponse removeItemFromCart(Integer userId, Integer productId);

    void clearCart(Integer userId);
} 